package org.bwgl.demo.conf;

import javax.servlet.*;
import java.io.IOException;

public class MyFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("before filter");
        filterChain.doFilter(servletRequest,servletResponse);
        System.out.println("after filter");

    }
}
